//------------------------------------------------------------------------------
// The contents of this file are subject to the nopCommerce License Version 1.0 ("License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at  http://www.nopCommerce.com/License.aspx. 
// 
// Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. 
// See the License for the specific language governing rights and limitations under the License.
// 
// The Original Code is nopCommerce.
// The Initial Developer of the Original Code is NopSolutions.
// All Rights Reserved.
// 
// Contributor(s): _______. 
//------------------------------------------------------------------------------

using System;
using System.Collections.Generic;
using NopSolutions.NopCommerce.Common;

namespace NopSolutions.NopCommerce.BusinessLogic.Alesko
{
    /// <summary>
    /// ContactUs service interface
    /// </summary>
    public partial interface IContactUsService
    {
        /// <summary>
        /// Gets a ContactUs
        /// </summary>
        /// <param name="IdMessage">The Message identifier</param>
        /// <returns>ContactUs</returns>
        ContactUs GetContactUsById(int IdMessage);

        /// <summary>
        /// Deletes a ContactUs
        /// </summary>
        /// <param name="IdMessage">The Message identifier</param>
        void DeleteContactUs(int IdMessage);

        /// <summary>
        /// Gets all ContactUs
        /// </summary>
        /// <returns>ContactUs item collection</returns>
        List<ContactUs> GetAllContactUs();

        /// <summary>
        /// Gets ContactUs item collection
        /// </summary>
        /// <param name="pageSize">Page size</param>
        /// <param name="pageIndex">Page index</param>
        /// <returns>ContactUs item collection</returns>
        PagedList<ContactUs> GetAllContactUs(int pageIndex, int pageSize);

        /// <summary>
        /// Inserts a ContactUs item
        /// </summary>
        /// <param name="ContactUs">ContactUs item</param>
        void InsertContactUs(ContactUs ContactUs);

        /// <summary>
        /// Updates the ContactUs item
        /// </summary>
        /// <param name="ContactUs">ContactUs item</param>
        void UpdateContactUs(ContactUs ContactUs);        
    }
}
